home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / UserInput.a < prev    next >
Encoding:
Text File  |  1996-05-01  |  2.4 KB  |  108 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        UserInput.a
  3. ;
  4. ;    Contains:    User Input Event Services API
  5. ;
  6. ;    Version:    Technology:    System 8.0
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__USERINPUT__') = 'UNDEFINED' THEN
  19. __USERINPUT__ SET 1
  20.  
  21.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  22.     include 'Types.a'
  23.     ENDIF
  24.     IF &TYPE('__KERNEL__') = 'UNDEFINED' THEN
  25.     include 'Kernel.a'
  26.     ENDIF
  27.     IF FOR_SYSTEM8_PREEMPTIVE THEN
  28. ;
  29. ; extern OSStatus GetApplicationUserInterfaceCapable(KernelProcessID id, Boolean *hasUI)
  30. ;
  31.     IF GENERATINGCFM THEN
  32.         IMPORT_CFM_FUNCTION GetApplicationUserInterfaceCapable
  33.     ENDIF
  34.  
  35. ;
  36. ; extern OSStatus SetApplicationUserInterfaceCapable(Boolean hasUI)
  37. ;
  38.     IF GENERATINGCFM THEN
  39.         IMPORT_CFM_FUNCTION SetApplicationUserInterfaceCapable
  40.     ENDIF
  41.  
  42. ;
  43. ; extern OSStatus GetApplicationFrontClicksSetting(KernelProcessID id, Boolean *getFrontClicks)
  44. ;
  45.     IF GENERATINGCFM THEN
  46.         IMPORT_CFM_FUNCTION GetApplicationFrontClicksSetting
  47.     ENDIF
  48.  
  49. ;
  50. ; extern OSStatus SetApplicationFrontClicksSetting(Boolean getFrontClicks)
  51. ;
  52.     IF GENERATINGCFM THEN
  53.         IMPORT_CFM_FUNCTION SetApplicationFrontClicksSetting
  54.     ENDIF
  55.  
  56. ;
  57. ; extern OSStatus GetApplicationBackgroundOnly(KernelProcessID id, Boolean *backgroundOnly)
  58. ;
  59.     IF GENERATINGCFM THEN
  60.         IMPORT_CFM_FUNCTION GetApplicationBackgroundOnly
  61.     ENDIF
  62.  
  63. ;
  64. ; extern OSStatus SetApplicationBackgroundOnly(Boolean backgroundOnly)
  65. ;
  66.     IF GENERATINGCFM THEN
  67.         IMPORT_CFM_FUNCTION SetApplicationBackgroundOnly
  68.     ENDIF
  69.  
  70. ;
  71. ; extern OSStatus InstallIntoApplicationList(Boolean hasUI, Boolean getFrontClicks, Boolean backgroundOnly)
  72. ;
  73.     IF GENERATINGCFM THEN
  74.         IMPORT_CFM_FUNCTION InstallIntoApplicationList
  75.     ENDIF
  76.  
  77. ;
  78. ; extern OSStatus GetFrontApplication(KernelProcessID *id)
  79. ;
  80.     IF GENERATINGCFM THEN
  81.         IMPORT_CFM_FUNCTION GetFrontApplication
  82.     ENDIF
  83.  
  84. ;
  85. ; extern OSStatus SetFrontApplication(KernelProcessID id)
  86. ;
  87.     IF GENERATINGCFM THEN
  88.         IMPORT_CFM_FUNCTION SetFrontApplication
  89.     ENDIF
  90.  
  91. ;
  92. ; extern OSStatus GetUserInputFocus(KernelProcessID *focus)
  93. ;
  94.     IF GENERATINGCFM THEN
  95.         IMPORT_CFM_FUNCTION GetUserInputFocus
  96.     ENDIF
  97.  
  98. ;
  99. ; extern OSStatus SetUserInputFocus(KernelProcessID focus)
  100. ;
  101.     IF GENERATINGCFM THEN
  102.         IMPORT_CFM_FUNCTION SetUserInputFocus
  103.     ENDIF
  104.  
  105.     ENDIF
  106.     ENDIF ; __USERINPUT__ 
  107.  
  108.